<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="m" uri="/cutm_tags"%>
<h2 class="title">发邮件</h2>
<style>
table.newmail th{width: 15px;}
</style>
<s:form class="editMailForm" action="mail/EditMail">
	<table class="form">
		<tr>
			<th width="20%">标题：</th>
			<td width="80%"><s:textfield name="mail.title"
				cssStyle="width:350" /></td>
		</tr>
		<tr>
			<th><span class="hint">*</span>接收者：</th>
			<td>
			<s:if test="mail.receiver.id!=null">
				<input type="hidden" name="receiverIds" value="<s:property value="mail.receiver.id"/>"></input>
				<s:property value="mail.receiver.name"/>
			</s:if><s:else>
				<s:checkboxlist list="users" listKey="id" listValue="name" name="receiverIds" cssClass="rule[required]"/>
				</s:else></td>
		</tr>
		<tr>
			<th><span class="hint">*</span>内容：</th>
			<td><m:KEditor name="mail.content" /></td>
		</tr>
	</table>
	<div class="btnGroup"><input type="submit" value="发送" /></div>
</s:form>